
import request from "@/utils/request1"

//货物解押添加 #权限标识：release:info:add
export function setReleaseAdd(data: any) {
  return request({
    url: '/mall/release/add',
    method: 'post',
    data: data
  })
}
//出仓创建解押 #权限标识：release:info:add
export function mallReleaseHwccAddRelease(data: any) {
  return request({
    url: '/mall/release/hwccAddRelease',
    method: 'post',
    data
  })
}

//货物解押详情 #权限标识：release:info:detail
export function mallReleaseDetail(id: string) {
  return request({
    url: `/mall/release/detail/${id}`,
    method: 'post'
  })
}
//货物JS审核 #权限标识：release:info:audit
export function mallReleaseAudit(id: string) {
  return request({
    url: `/mall/release/audit/${id}`,
    method: 'post'
  })
}
//货物JS驳回 #权限标识：release:info:reject
export function mallReleaseReject(data: any) {
  return request({
    url: '/mall/release/reject',
    method: 'post',
    data: data
  })
}